(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <proto/layers.h>
#include <>
void SortLayerCR()
SYNOPSIS
struct Layer * layer
LONG dx
LONG dy
LOCATION
In LayersBase at offset 35
FUNCTION
Sorts the list of ClipRects associated with the given layer. The direction of the sort is indicated by dx and dy.
INPUTS
layer
- the layer with the ClipRect list to sort
dx
- the left/right ordering
dy
- the up/down ordering
RESULT
The layer->ClipRect pointer now points to a sorted list of ClipRects.
NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
Implemented as an InsertSort on a singly linked list.
HISTORY
12.07.1997 ldp
First entry